package com.wangdong.network;

import org.apache.http.cookie.Cookie;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者：wangdong on 2018/4/25 17:04
 * 邮箱：2100520956@qq.com
 */

public class Utils {
    private static List<Cookie> cookies;

    public static List<Cookie> getCookies() {
        return cookies != null? cookies : new ArrayList<Cookie>();
    }

    public static void setCookies(List<Cookie> cookies) {
        Utils.cookies = cookies;
    }
}
